<?php if (isset($errors)) { ?>
<div id="errors">
	<div style="margin: 5px; vertical-align:middle;">
	<table>
		<tr>
			<td width="30">
				<img src="images/red_cross.png" />
			</td>
			<td>
				<strong>The following errors have been found</strong>
			</td>
		</tr>
	</table>
	</div>
	<ul>
		<?php foreach($errors as $error) { ?>
			<li><?php echo $error; ?></li>
		<?php } ?>
	</ul>
</div>
<?php } ?>